{% if not is_granted('IS_AUTHENTICATED_FULLY') %}
    <form action="{{ path('login_check') }}" method="post" id="loginbar">
        <label for="username">Username:</label>
        <input type="text" id="username" name="_username" value=""/>

        <label for="password">Password:</label>
        <input type="password" id="password" name="_password"/>
        <input type="hidden" name="homepage"
               value="{{ path('bwl_webshop_home') }}"/>
        {#
            If you want to control the URL the user is redirected to on success (more details below)
            <input type="hidden" name="_target_path" value="/account" />
        #}

        <button type="submit">login</button>
    </form>
{% else %}
    <form action="{{ path('logout') }}" method="post" id="loginbar">
        <input type="submit" name="logut" value="Logout"/>
    </form>
{% endif %}
